package com.sun;

import redis.clients.jedis.Jedis;

/**
 * @author 烛龙神
 * @Description TODO
 * @date 2021-04-07 21:32
 */
public class RedisTest1 {
    public static void  main(String[] args)
    {
        Jedis jedis = new Jedis("localhost",6379);
        jedis.set("monkey","2023");
        System.out.println(jedis.get("monkey"));
    }
}
